﻿<Window x:Class="CBR.Components.PasswordDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		Background="{DynamicResource CbrDarkBackgroundBrush}"
		Title="{LocalizationExtension ResModul=CBR.Dialogs, Key=PasswordDialog.Title, DefaultValue=Protection}"
		Height="209" Width="391">
    <Grid>
        <Image Source="/CBR;component/Resources/Images/32x32/book/book_protect.png" Width="64" Height="64" Margin="12,12,292,94"/>
		<TextBlock Style="{DynamicResource CbrTitleLabel}" TextWrapping="WrapWithOverflow" Margin="84,12,12,94"
				   Text="{LocalizationExtension ResModul=CBR.Dialogs, Key=PasswordDialog.lblExplain, DefaultValue=Enter the password to release or set protection}" />
		<PasswordBox Style="{DynamicResource CbrPasswordTextBox}" Height="23" Margin="23,0,27,57" Name="PassBox" VerticalAlignment="Bottom" AllowDrop="False" />
		<Button Style="{DynamicResource CbrStandardButton}" Height="23" Name="btnConfirm" VerticalAlignment="Bottom" IsDefault="True" Click="btnConfirm_Click" Margin="70,0,70,12"
				Content="{LocalizationExtension ResModul=CBR.Dialogs, Key=PasswordDialog.BtnOk, DefaultValue=OK}" />
    </Grid>
</Window>
